/****************************************************
	文件：GoItem.cs
	作者：HuskyT
	邮箱：1005240602@qq.com
	日期：2020/9/27 11:27:41
	功能：实例化的GameObject数据项
*****************************************************/

using System;
using UnityEngine;
using HTUtility;

namespace HTFramework.ResKit
{
    public class GoItem
    {
        /// <summary>
        /// 资源路径
        /// </summary>
        public string Path;
        /// <summary>
        /// 资源引用
        /// </summary>
        public GameObject Obj;
        /// <summary>
        /// 实例化的 GameObject
        /// </summary>
        public GameObject GO;

        public void Reset()
        {
            Path = string.Empty;
            Obj = null;
            GO = null;
        }
    }
}
